// *Author：jxx
// *Contact：283591387@qq.com
// *代码由框架生成,任何更改都可能导致被代码生成器覆盖
export default function(){
    const table = {
        key: 'InventoryCountItemId',
        footer: "Foots",
        cnName: '盘点明细项实体',
        name: 'InventoryCountItem',
        url: "/InventoryCountItem/",
        sortName: "InventoryCountItemId"
    };
    const tableName = table.name;
    const tableCNName = table.cnName;
    const newTabEdit = false;
    const key = table.key;
    const editFormFields = {};
    const editFormOptions = [];
    const searchFormFields = {};
    const searchFormOptions = [];
    const columns = [{field:'InventoryCountItemId',title:'InventoryCountItemId',type:'int',width:110,hidden:true,readonly:true,require:true,align:'left'},
                       {field:'CountCode',title:'CountCode',type:'string',width:110,hidden:true,readonly:true,require:true,align:'left'},
                       {field:'ProductId',title:'ProductId',type:'bigint',width:110,hidden:true,readonly:true,require:true,align:'left'},
                       {field:'ProductCode',title:'ProductCode',type:'string',width:110,align:'left',sort:true},
                       {field:'ProductName',title:'ProductName',type:'string',width:120,align:'left'},
                       {field:'Spec',title:'Spec',type:'string',width:120,align:'left'},
                       {field:'Unit',title:'Unit',type:'string',width:110,align:'left'},
                       {field:'BookStock',title:'BookStock',type:'decimal',width:110,align:'left'},
                       {field:'BookAmount',title:'BookAmount',type:'decimal',width:110,align:'left'},
                       {field:'CountLocation',title:'CountLocation',type:'string',width:110,align:'left'},
                       {field:'CountQuantity',title:'CountQuantity',type:'decimal',width:110,align:'left'},
                       {field:'ProfitLossQuantity',title:'ProfitLossQuantity',type:'decimal',width:110,align:'left'},
                       {field:'ProfitLossAmount',title:'ProfitLossAmount',type:'decimal',width:110,align:'left'},
                       {field:'ReferencePrice',title:'ReferencePrice',type:'decimal',width:110,align:'left'},
                       {field:'CountStatus',title:'CountStatus',type:'string',width:110,align:'left'},
                       {field:'InOutStatus',title:'InOutStatus',type:'string',width:110,align:'left'},
                       {field:'Remark',title:'Remark',type:'string',width:220,align:'left'}];
    const detail ={columns:[]};
    const details = [];

    return {
        table,
        key,
        tableName,
        tableCNName,
        newTabEdit,
        editFormFields,
        editFormOptions,
        searchFormFields,
        searchFormOptions,
        columns,
        detail,
        details
    };
}